package com.hdoit.ares.web.tp.zzb.wechat;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.tennetcn.component.wechat.BaseWechat;

@Controller
@RequestMapping(value = "/wechat/zzb/")
public class FanhuaWechat extends BaseWechat {

	@Override
	public String getRoutePath() {

		return "areas/wechat/zzb/";
	}
	
	private final String fanhuaViewName="fanhua";
	private final String fanhuaproudViewName="fanhuaproud";
		
	@RequestMapping(value = fanhuaViewName, method = { RequestMethod.GET,RequestMethod.POST })
	public String fanHua(Model model) {
		return view(fanhuaViewName);
	}
	
	@RequestMapping(value = fanhuaproudViewName, method = { RequestMethod.GET,RequestMethod.POST })
	public String fanhuaproud(Model model) {
		return view(fanhuaViewName);
	}
}
